package com.ruoyi.carShopService.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 维修预约对象 car_user_booking
 * 
 * @author ruoyi
 * @date 2024-09-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CarUserBooking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private CarType carType;

    private Long bookingId;

    /** 预约id，主键 */
    @Excel(name = "车主id")
    private Long typeId;

    /** 车主姓名 */
    @Excel(name = "车主姓名")
    private String ownName;

//    /** 车主id */
//    @Excel(name = "车主id")
//    private Long ownId;

    /** 车主联系方式 */
    @Excel(name = "车主联系方式")
    private String ownPhone;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bookingTime;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carCard;

    /** 整车照片 */
    @Excel(name = "整车照片")
    private String allPhoto;

    /** 维修部位照片 */
    @Excel(name = "维修部位照片")
    private String partPhoto;

    /** 取车位置 */
    @Excel(name = "取车位置")
    private String address;

    /** 维修方式 */
    @Excel(name = "维修方式")
    private String bookingType;

    /** 维修单号 */
    @Excel(name = "维修单号")
    private String repairOrderNo;

    /** 维修状态 */
    @Excel(name = "维修状态")
    private String repairStatus;

    /** 提交日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bookingEndtime;


}
